#【购买英雄】
execute as @a[tag=BuyHero] at @s run tp @s ~ 200 ~
execute as @a[tag=BuyHero,tag=Buying,scores={SystemBuyHero=3..}] at @s run function nw:system/system_joinmap/buyhero

#【菜单书】
execute as @a if data entity @s {SelectedItem:{id:"minecraft:written_book",tag:{Tags:["MainMenu"]}}} run scoreboard players enable @s SystemMenu
execute as @a unless data entity @s {SelectedItem:{id:"minecraft:written_book",tag:{Tags:["MainMenu"]}}} run scoreboard players reset @s SystemMenu

#查询卡包数据
execute as @a[scores={SystemMenu=2}] at @s run function nw:yingxiong/chaxun
#查询永久英雄
execute as @a[scores={SystemMenu=3}] at @s run function nw:yingxiong/already


#进入购买英雄状态
execute as @a[scores={SystemMenu=4}] at @s run tag @s add BuyHero
tellraw @a[scores={SystemMenu=4}] [{"text":"                                          \n","color":"gold","bold":true,"italic":false,"underlined":false,"strikethrough":true,"obfuscated":false},{"text":"  请 选 择 一 个 想 要 购 买 的 英 雄","color":"white","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false}]
tellraw @a[scores={SystemMenu=4}] [{"text":"  丢 弃 [金苹果] 退 出 购 买 状 态","color":"red","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false}]
give @a[scores={SystemMenu=4}] minecraft:enchanted_golden_apple{display:{Name:'[{"text":"丢弃一个退出","color":"aqua","bold":true,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false}]'},Enchantments:[{id:"minecraft:loyalty",lvl:10s}]} 1
#选择英雄前退出购买状态
effect give @a[tag=BuyHero,tag=!Buying,scores={SystemBuyHero=1..}] resistance 1 9 true
execute as @a[tag=BuyHero,tag=!Buying,scores={SystemBuyHero=1..}] at @s run spreadplayers ~ ~ 2 3 false @s 
scoreboard players add @a[tag=BuyHero,tag=!Buying,scores={SystemBuyHero=1..}] SystemDeath 2
#选择英雄后退出购买状态
effect give @a[tag=BuyHero,scores={SystemCancelBuy=1..}] resistance 1 9 true
execute as @a[tag=BuyHero,scores={SystemCancelBuy=1..}] at @s run spreadplayers ~ ~ 0 1 false @s 
scoreboard players set @a[tag=BuyHero,scores={SystemCancelBuy=1..}] SystemDeath 2





#【商店】1、购买1英雄卡 -500金币
execute as @a[scores={SystemMenu=5}] if score @s DataGold matches ..499 run tellraw @s [{"text":"金币","color":"gold","bold":false},{"text":"不足","color":"white","bold":false},{"text":"（剩余","color":"white","bold":false},{"score":{"objective":"DataGold","name":"@s"},"color":"gold","bold":false},{"text":"）需要500","color":"white","bold":false}]
execute as @a[scores={SystemMenu=5}] if score @s DataGold matches 500.. run tag @s add DataBuy
execute as @a[tag=DataBuy,scores={SystemMenu=5}] run scoreboard players remove @s DataGold 500
execute as @a[tag=DataBuy,scores={SystemMenu=5}] run scoreboard players add @s DataHeroCard 1
execute as @a[tag=DataBuy,scores={SystemMenu=5}] run tellraw @s [{"text":"已为您花费","color":"white","bold":false},{"text":"500金币","color":"gold","bold":false},{"text":"（剩余","color":"white","bold":false},{"score":{"objective":"DataGold","name":"@s"},"color":"gold","bold":false},{"text":"） 自动购买1张","color":"white","bold":false},{"text":"英雄卡","color":"dark_purple","bold":false},{"text":"（剩余","color":"white","bold":false},{"score":{"objective":"DataHeroCard","name":"@s"},"color":"dark_purple","bold":false},{"text":"张）","color":"white","bold":false}]
#【商店】3、购买10全英雄使用权 -1000金币
execute as @a[scores={SystemMenu=6}] if score @s DataGold matches ..999 run tellraw @s [{"text":"金币","color":"gold","bold":false},{"text":"不足","color":"white","bold":false},{"text":"（剩余","color":"white","bold":false},{"score":{"objective":"DataGold","name":"@s"},"color":"gold","bold":false},{"text":"）需要1000","color":"white","bold":false}]
execute as @a[scores={SystemMenu=6}] if score @s DataGold matches 1000.. run tag @s add DataBuy
execute as @a[tag=DataBuy,scores={SystemMenu=6}] run scoreboard players remove @s DataGold 1000
execute as @a[tag=DataBuy,scores={SystemMenu=6}] run scoreboard players add @s DataVIP 20
execute as @a[tag=DataBuy,scores={SystemMenu=6}] run tellraw @s [{"text":"已为您花费","color":"white","bold":false},{"text":"1000金币","color":"gold","bold":false},{"text":"（剩余","color":"white","bold":false},{"score":{"objective":"DataGold","name":"@s"},"color":"gold","bold":false},{"text":"） 兑换了","color":"white","bold":false},{"text":"20分钟全英雄使用权","color":"gold","bold":false},{"text":"（剩余","color":"white","bold":false},{"score":{"objective":"DataVIP","name":"@s"},"color":"gold","bold":false},{"text":"分钟）","color":"white","bold":false}]
#【商店】2、出售1英雄体验卡 +50金币
execute as @a[scores={SystemMenu=7}] if score @s DataEXCard matches 0 run tellraw @s [{"text":"英雄体验卡","color":"light_purple","bold":false},{"text":"不足","color":"white","bold":false},{"text":"（剩余","color":"white","bold":false},{"score":{"objective":"DataEXCard","name":"@s"},"color":"gold","bold":false},{"text":"）需要1","color":"white","bold":false}]
execute as @a[scores={SystemMenu=7}] if score @s DataEXCard matches 1.. run tag @s add DataBuy
execute as @a[tag=DataBuy,scores={SystemMenu=7}] run scoreboard players add @s DataGold 50
execute as @a[tag=DataBuy,scores={SystemMenu=7}] run scoreboard players remove @s DataEXCard 1
execute as @a[tag=DataBuy,scores={SystemMenu=7}] run tellraw @s [{"text":"已为您花费","color":"white","bold":false},{"text":"1英雄体验卡","color":"light_purple","bold":false},{"text":"（剩余","color":"white","bold":false},{"score":{"objective":"DataEXCard","name":"@s"},"color":"light_purple","bold":false},{"text":"） 兑换了","color":"white","bold":false},{"text":"50金币","color":"gold","bold":false},{"text":"（剩余","color":"white","bold":false},{"score":{"objective":"DataGold","name":"@s"},"color":"gold","bold":false},{"text":"）","color":"white","bold":false}]
#【商店】购买完成后移除tag标签
tag @a[tag=DataBuy] remove DataBuy

#查询今日免费英雄数据
execute as @a[scores={SystemMenu=9}] at @s run function nw:yingxiong/todayfreehero

#投票开启大逃杀对局
# execute unless score IsTheDieOutGame SystemAdmin matches 1.. if entity @a[scores={SystemMenu=10}] run scoreboard players set @a DieOutTrigger 0
execute unless score IsTheDieOutGame SystemAdmin matches 1.. as @a[scores={SystemMenu=10}] run tellraw @a [{"text":"[大逃杀] ","color":"red","bold":true},{"selector":"@s","color":"green","bold":false},{"text":" 希望开启","color":"white","bold":false},{"text":" 大逃杀排位对局","color":"gold","bold":false},{"text":"\n点击同意","color":"blue","bold":false,"italic":false,"underlined":true,"strikethrough":false,"obfuscated":false,"clickEvent":{"action":"run_command","value":"/trigger DieOutTrigger"}},{"text":" 或输入/trigger DieOutTrigger set 1","color":"white","bold":false},{"text":"\n大逃杀开局时，若还在战斗中则反馈一张英雄体验卡","color":"gray","bold":false}]
execute unless score IsTheDieOutGame SystemAdmin matches 1.. run tag @a[scores={SystemMenu=10}] add DieOutAgree
execute unless score IsTheDieOutGame SystemAdmin matches 1.. if entity @a[scores={SystemMenu=10}] run scoreboard players set TimeClock DieOutInfo 60
execute unless score IsTheDieOutGame SystemAdmin matches 1.. if entity @a[scores={SystemMenu=10}] run scoreboard players set IsTheDieOutGame SystemAdmin 1

#清空属性 为选择英雄做准备
execute as @a[scores={SystemMenu=11..}] run function nw:system/system_util/reset

#第一英雄大厅
execute as @a[scores={SystemMenu=11}] at @s run function nw:yingxiong/1yingxiong/01xiao/zhuangbei
execute as @a[scores={SystemMenu=12}] at @s run function nw:yingxiong/1yingxiong/02zuozhu/zhuangbei
execute as @a[scores={SystemMenu=13}] at @s run function nw:yingxiong/1yingxiong/03jujishou/zhuangbei
execute as @a[scores={SystemMenu=14}] at @s run function nw:yingxiong/1yingxiong/04tezhongbing/zhuangbei
execute as @a[scores={SystemMenu=15}] at @s run function nw:yingxiong/1yingxiong/05haidao/zhuangbei
execute as @a[scores={SystemMenu=16}] at @s run function nw:yingxiong/1yingxiong/06yasuo/zhuangbei
execute as @a[scores={SystemMenu=17}] at @s run function nw:yingxiong/1yingxiong/07anshazhe/zhuangbei
execute as @a[scores={SystemMenu=18}] at @s run function nw:yingxiong/1yingxiong/08dunbing/zhuangbei
execute as @a[scores={SystemMenu=19}] at @s run function nw:yingxiong/1yingxiong/09yimo/zhuangbei
execute as @a[scores={SystemMenu=20}] at @s run function nw:yingxiong/1yingxiong/10lielongshou/zhuangbei

#第二英雄大厅
execute as @a[scores={SystemMenu=21}] at @s run function nw:yingxiong/2yingxiong/01panshi/zhuangbei
execute as @a[scores={SystemMenu=22}] at @s run function nw:yingxiong/2yingxiong/02mieshang/zhuangbei
execute as @a[scores={SystemMenu=23}] at @s run function nw:yingxiong/2yingxiong/03zuoxu/zhuangbei
execute as @a[scores={SystemMenu=24}] at @s run function nw:yingxiong/2yingxiong/04jingling/zhuangbei
execute as @a[scores={SystemMenu=25}] at @s run function nw:yingxiong/2yingxiong/05ling/zhuangbei
execute as @a[scores={SystemMenu=26}] at @s run function nw:yingxiong/2yingxiong/06dianjishi/zhuangbei
execute as @a[scores={SystemMenu=27}] at @s run function nw:yingxiong/2yingxiong/07qiaoyisi/zhuangbei
execute as @a[scores={SystemMenu=28}] at @s run function nw:yingxiong/2yingxiong/08mingge/zhuangbei
execute as @a[scores={SystemMenu=29}] at @s run function nw:yingxiong/2yingxiong/09shanling/zhuangbei
execute as @a[scores={SystemMenu=30}] at @s run function nw:yingxiong/2yingxiong/10mengyan/zhuangbei

#第三英雄大厅
execute as @a[scores={SystemMenu=31}] at @s run function nw:yingxiong/3yingxiong/01erhan/zhuangbei
execute as @a[scores={SystemMenu=32}] at @s run function nw:yingxiong/3yingxiong/02wofu/zhuangbei
execute as @a[scores={SystemMenu=33}] at @s run function nw:yingxiong/3yingxiong/03akeer/zhuangbei
execute as @a[scores={SystemMenu=34}] at @s run function nw:yingxiong/3yingxiong/04daoshaolin/zhuangbei
execute as @a[scores={SystemMenu=35}] at @s run function nw:yingxiong/3yingxiong/05jueling/zhuangbei
execute as @a[scores={SystemMenu=36}] at @s run function nw:yingxiong/3yingxiong/06xingchen/zhuangbei
execute as @a[scores={SystemMenu=37}] at @s run function nw:yingxiong/3yingxiong/07shihuangzhe/zhuangbei
execute as @a[scores={SystemMenu=38}] at @s run function nw:yingxiong/3yingxiong/08lieshou/zhuangbei
execute as @a[scores={SystemMenu=39}] at @s run function nw:yingxiong/3yingxiong/09qishi/zhuangbei
execute as @a[scores={SystemMenu=40}] at @s run function nw:yingxiong/3yingxiong/10miyan/zhuangbei

#第四英雄大厅
execute as @a[scores={SystemMenu=41}] at @s run function nw:yingxiong/4yingxiong/01xingyue/zhuangbei


##TODO：以上数据复制更改即可————————————————————————————————————————————————————————————————————
#选择完英雄后若未处于购买英雄状态，则进行加入游戏判断
execute as @a[tag=!BuyHero,scores={SystemMenu=11..}] at @s run function nw:system/system_joinmap/cost

#【购买英雄】
tag @a[tag=BuyHero,scores={SystemMenu=11..}] add Buying
tellraw @a[tag=BuyHero,tag=Buying,scores={SystemMenu=11..}] [{"text":"                                          \n","color":"gold","bold":true,"italic":false,"underlined":false,"strikethrough":true,"obfuscated":false},{"text":"  吃 掉 三 个 [金苹果] 来 购 买 此 英 雄\n","color":"white","bold":false,"strikethrough":false},{"text":"  在 菜 单 中 选 择 英 雄 可 以 更 换 购 买","color":"gold","bold":false,"strikethrough":false},{"text":"\n  丢 弃 [金苹果] 退 出 购 买 状 态","color":"red","bold":false,"strikethrough":false}]
give @a[tag=BuyHero,tag=Buying,scores={SystemMenu=11..}] minecraft:enchanted_golden_apple{display:{Name:'[{"text":"丢弃一个退出","color":"aqua","bold":true}]'},Enchantments:[{id:"minecraft:loyalty",lvl:10s}]} 3
scoreboard players set @a[scores={SystemMenu=1..}] SystemMenu 0

#游戏菜单
give @a[tag=Watch,nbt=!{Inventory:[{id:"minecraft:written_book",tag:{Tags:["MainMenu"]}}]}] minecraft:written_book{Tags:["MainMenu"],display:{Name:'[{"text":"自然世界PVP 游戏菜单","color":"gold","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false}]'},Enchantments:[{id:"minecraft:loyalty",lvl:10}],title:"关于此游戏",author:"Hoct",pages:['[{"text":"自然世界PVP 游戏菜单\\n","color":"gold","bold":true,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"text":"作者: Hoct\\n\\n","color":"black","bold":true,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"text":"1、英雄大厅传送门\\n\\n","color":"black","bold":true,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"hoverEvent":{"action":"show_text","value":"点击跳转选择英雄入口（加入战斗）"},"clickEvent":{"action":"change_page","value":"4"}},{"text":"2、进入商店\\n\\n","color":"black","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"hoverEvent":{"action":"show_text","value":"点击跳转商店"},"clickEvent":{"action":"change_page","value":"2"}},{"text":"3、查看今日免费英雄\\n","color":"black","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"hoverEvent":{"action":"show_text","value":"点击查看今日3个可免费使用的英雄"},"clickEvent":{"action":"run_command","value":"/trigger SystemMenu set 9"}},{"text":"4、查看卡包\\n","color":"black","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"hoverEvent":{"action":"show_text","value":"点击查看自己的卡包"},"clickEvent":{"action":"run_command","value":"/trigger SystemMenu set 2"}},{"text":"5、查看已拥有的永久英雄\\n\\n","color":"black","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"hoverEvent":{"action":"show_text","value":"点击查看已拥有的永久英雄"},"clickEvent":{"action":"run_command","value":"/trigger SystemMenu set 3"}},{"text":"6、大逃杀对局\\n\\n","color":"black","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"hoverEvent":{"action":"show_text","value":"点击进入投票开启大逃杀对局"},"clickEvent":{"action":"run_command","value":"/trigger SystemMenu set 10"}}]'                             ,'[{"text":" 商 店 \\n\\n","color":"black","bold":true,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"text":"1、购买英雄\\n\\n","color":"black","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"clickEvent":{"action":"run_command","value":"/trigger SystemMenu set 4"},"hoverEvent":{"action":"show_text","value":"每个永久英雄需要5英雄卡"}},{"text":"2、购买1英雄卡\\n\\n","color":"black","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"clickEvent":{"action":"run_command","value":"/trigger SystemMenu set 5"},"hoverEvent":{"action":"show_text","value":"花费500金币"}},{"text":"3、购买20分钟全英雄使用权\\n\\n","color":"black","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"clickEvent":{"action":"run_command","value":"/trigger SystemMenu set 6"},"hoverEvent":{"action":"show_text","value":"花费1000金币"}},{"text":"4、出售1英雄体验卡\\n\\n","color":"black","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"clickEvent":{"action":"run_command","value":"/trigger SystemMenu set 7"},"hoverEvent":{"action":"show_text","value":"售价50金币/1张"}}]','[{"text":"新手英雄推荐\\n","color":"black","bold":true,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"text":"1、射手：莱薇_特种兵\\n","color":"black","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"clickEvent":{"action":"run_command","value":"/trigger SystemMenu set 14"},"hoverEvent":{"action":"show_text","value":"连发冲锋枪，万能战术详攻"}},{"text":"2、重装：墨菲泰_磐石\\n","color":"black","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"clickEvent":{"action":"run_command","value":"/trigger SystemMenu set 21"},"hoverEvent":{"action":"show_text","value":"稳定输出，稳定控制"}},{"text":"3、重装：耀_圣光守卫者\\n","color":"black","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"clickEvent":{"action":"run_command","value":"/trigger SystemMenu set 25"},"hoverEvent":{"action":"show_text","value":"被打时回血，瞬控技能，开启大招有免击退效果"}},{"text":"4、战士：沃夫_异狼裔\\n","color":"black","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"clickEvent":{"action":"run_command","value":"/trigger SystemMenu set 32"},"hoverEvent":{"action":"show_text","value":"生命值越低战斗力越强，自带回血与解控"}},{"text":"5、重装：希兹克利夫_骑士\\n","color":"black","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"clickEvent":{"action":"run_command","value":"/trigger SystemMenu set 39"},"hoverEvent":{"action":"show_text","value":"集进攻与防御于一身，进可攻退可守"}},{"text":"\\n热门英雄推荐\\n","color":"black","bold":true,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"text":"战士：灭殇_旧时代的恶魔\\n","color":"black","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"clickEvent":{"action":"run_command","value":"/trigger SystemMenu set 22"},"hoverEvent":{"action":"show_text","value":"玩法灵活，既简单又需要操作\\n既可当战士用，又可当法师用"}},{"text":"刺客：瓦尔特_暗杀者\\n","color":"black","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"clickEvent":{"action":"run_command","value":"/trigger SystemMenu set 17"},"hoverEvent":{"action":"show_text","value":"最多人玩，手感超好的刺客\\n隐匿于黑暗，让对手无从下手"}},{"text":"射手：伊芙尔_炼狱精灵\\n","color":"black","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"clickEvent":{"action":"run_command","value":"/trigger SystemMenu set 24"},"hoverEvent":{"action":"show_text","value":"莱薇已在上面新手推荐（莱薇才是热门射手）\\n伊芙尔近可位移拉扯，远可火攻消耗\\n有位移有远程物理伤害、爆炸伤害、火焰伤害"}},{"text":"法师：乔伊斯_能源刺客\\n","color":"black","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"clickEvent":{"action":"run_command","value":"/trigger SystemMenu set 27"},"hoverEvent":{"action":"show_text","value":"超高火焰与爆破伤害，以及锁定位移\\n让此英雄成为总多玩家的热爱"}},{"text":"重装：冥戈_鬼火恶魔\\n","color":"black","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"clickEvent":{"action":"run_command","value":"/trigger SystemMenu set 28"},"hoverEvent":{"action":"show_text","value":"虽然攻速慢，但其超高的近战伤害，以及免疫远程弹射物\\n使得此英雄成为重装中的一哥"}}]'                             ,'[{"text":"英雄大厅传送门\\n\\n","color":"black","bold":true,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"text":"> 新手与热门英雄推荐\\n\\n","color":"black","bold":true,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"clickEvent":{"action":"change_page","value":"3"},"hoverEvent":{"action":"show_text","value":"新手推荐的难度系数低的英雄"}},{"text":" 英雄大厅1\\n\\n","color":"black","bold":true,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"clickEvent":{"action":"change_page","value":"5"},"hoverEvent":{"action":"show_text","value":"点击跳转到英雄大厅1"}},{"text":" 英雄大厅2\\n\\n","color":"black","bold":true,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"clickEvent":{"action":"change_page","value":"6"},"hoverEvent":{"action":"show_text","value":"点击跳转到英雄大厅2"}},{"text":" 英雄大厅3\\n\\n","color":"black","bold":true,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"clickEvent":{"action":"change_page","value":"7"},"hoverEvent":{"action":"show_text","value":"点击跳转到英雄大厅3"}},{"text":" 英雄大厅4\\n\\n","color":"black","bold":true,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"clickEvent":{"action":"change_page","value":"8"},"hoverEvent":{"action":"show_text","value":"点击跳转到英雄大厅4"}}]'                             ,'[{"text":"英雄大厅1\\n\\n","color":"black","bold":true,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"text":"01 枭（凌鹰之驾）\\n","color":"black","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"clickEvent":{"action":"run_command","value":"/trigger SystemMenu set 11"}},{"text":"02 佐助（少年）\\n","color":"black","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"clickEvent":{"action":"run_command","value":"/trigger SystemMenu set 12"}},{"text":"03 朝田诗乃（狙击手）\\n","color":"black","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"clickEvent":{"action":"run_command","value":"/trigger SystemMenu set 13"}},{"text":"04 莱薇（特种兵）\\n","color":"black","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"clickEvent":{"action":"run_command","value":"/trigger SystemMenu set 14"}},{"text":"05 爱德华·蒂奇（海盗）\\n","color":"black","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"clickEvent":{"action":"run_command","value":"/trigger SystemMenu set 15"}},{"text":"06 亚索（疾风剑豪）\\n","color":"black","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"clickEvent":{"action":"run_command","value":"/trigger SystemMenu set 16"}},{"text":"07 瓦尔特（暗杀者）\\n","color":"black","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"clickEvent":{"action":"run_command","value":"/trigger SystemMenu set 17"}},{"text":"08 艾吉斯（无暇卫兵）\\n","color":"black","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"clickEvent":{"action":"run_command","value":"/trigger SystemMenu set 18"}},{"text":"09 血鸦（疫魔）\\n","color":"black","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"clickEvent":{"action":"run_command","value":"/trigger SystemMenu set 19"}},{"text":"10 维德（龙域猎手）\\n","color":"black","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"clickEvent":{"action":"run_command","value":"/trigger SystemMenu set 20"}},{"text":"\\n点击此处返回首页","color":"dark_purple","bold":true,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"clickEvent":{"action":"change_page","value":"1"}}]'                             ,'[{"text":"英雄大厅2\\n\\n","color":"black","bold":true,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"text":"01 墨菲泰（磐石）\\n","color":"black","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"clickEvent":{"action":"run_command","value":"/trigger SystemMenu set 21"}},{"text":"02 灭殇（旧时代的恶魔）\\n","color":"black","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"clickEvent":{"action":"run_command","value":"/trigger SystemMenu set 22"}},{"text":"03 左旭（超时空穿梭者）\\n","color":"black","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"clickEvent":{"action":"run_command","value":"/trigger SystemMenu set 23"}},{"text":"04 伊芙尔（炼狱精灵）\\n","color":"black","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"clickEvent":{"action":"run_command","value":"/trigger SystemMenu set 24"}},{"text":"05 耀（圣光守卫者）\\n","color":"black","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"clickEvent":{"action":"run_command","value":"/trigger SystemMenu set 25"}},{"text":"06 御坂美琴（电击使）\\n","color":"black","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"clickEvent":{"action":"run_command","value":"/trigger SystemMenu set 26"}},{"text":"07 乔伊斯（能源刺客）\\n","color":"black","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"clickEvent":{"action":"run_command","value":"/trigger SystemMenu set 27"}},{"text":"08 冥戈（鬼火恶魔）\\n","color":"black","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"clickEvent":{"action":"run_command","value":"/trigger SystemMenu set 28"}},{"text":"09 闪灵（恋心魔）\\n","color":"black","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"clickEvent":{"action":"run_command","value":"/trigger SystemMenu set 29"}},{"text":"10 梦魇（碎梦者）\\n","color":"black","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"clickEvent":{"action":"run_command","value":"/trigger SystemMenu set 30"}},{"text":"\\n点击此处返回首页","color":"dark_purple","bold":true,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"clickEvent":{"action":"change_page","value":"1"}}]'                             ,'[{"text":"英雄大厅3\\n\\n","color":"black","bold":true,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"text":"01 尔翰（兽人刀客）\\n","color":"black","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"clickEvent":{"action":"run_command","value":"/trigger SystemMenu set 31"}},{"text":"02 沃夫（异狼裔）\\n","color":"black","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"clickEvent":{"action":"run_command","value":"/trigger SystemMenu set 32"}},{"text":"03 阿克尔（丛林猎手）\\n","color":"black","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"clickEvent":{"action":"run_command","value":"/trigger SystemMenu set 33"}},{"text":"04 孤帆远影（刀少林）\\n","color":"black","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"clickEvent":{"action":"run_command","value":"/trigger SystemMenu set 34"}},{"text":"05 绝翎（滑翔者）\\n","color":"black","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"clickEvent":{"action":"run_command","value":"/trigger SystemMenu set 35"}},{"text":"06 氐（星辰之子）\\n","color":"black","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"clickEvent":{"action":"run_command","value":"/trigger SystemMenu set 36"}},{"text":"07 维尔森（拾荒者）\\n","color":"black","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"clickEvent":{"action":"run_command","value":"/trigger SystemMenu set 37"}},{"text":"08 佛理泽（噬魂猎手）\\n","color":"black","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"clickEvent":{"action":"run_command","value":"/trigger SystemMenu set 38"}},{"text":"09 希兹克利夫（骑士）\\n","color":"black","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"clickEvent":{"action":"run_command","value":"/trigger SystemMenu set 39"}},{"text":"10 弥彦（天道-佩恩）\\n","color":"black","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"clickEvent":{"action":"run_command","value":"/trigger SystemMenu set 40"}},{"text":"\\n点击此处返回首页","color":"dark_purple","bold":true,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"clickEvent":{"action":"change_page","value":"1"}}]'                             ,'[{"text":"英雄大厅4\\n\\n","color":"black","bold":true,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"text":"01 星月（密林风暴）\\n","color":"black","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"clickEvent":{"action":"run_command","value":"/trigger SystemMenu set 41"}},{"text":"02 \\n","color":"black","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"clickEvent":{"action":"run_command","value":"/trigger SystemMenu set 42"}},{"text":"03 \\n","color":"black","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"clickEvent":{"action":"run_command","value":"/trigger SystemMenu set 43"}},{"text":"04 \\n","color":"black","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"clickEvent":{"action":"run_command","value":"/trigger SystemMenu set 44"}},{"text":"05 \\n","color":"black","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"clickEvent":{"action":"run_command","value":"/trigger SystemMenu set 45"}},{"text":"06 \\n","color":"black","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"clickEvent":{"action":"run_command","value":"/trigger SystemMenu set 46"}},{"text":"07 \\n","color":"black","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"clickEvent":{"action":"run_command","value":"/trigger SystemMenu set 47"}},{"text":"08 \\n","color":"black","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"clickEvent":{"action":"run_command","value":"/trigger SystemMenu set 48"}},{"text":"09 \\n","color":"black","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"clickEvent":{"action":"run_command","value":"/trigger SystemMenu set 49"}},{"text":"10 \\n","color":"black","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"clickEvent":{"action":"run_command","value":"/trigger SystemMenu set 50"}},{"text":"\\n点击此处返回首页","color":"dark_purple","bold":true,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"clickEvent":{"action":"change_page","value":"1"}}]'],HideFlags:1} 1
clear @a[tag=!Watch] minecraft:written_book{Tags:["MainMenu"]}

